<?php
/**
 * Description tab
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     1.6.4
 */

global $woocommerce, $post;
?>

		<h2>Frequently Asked Questions &amp; Answers</h2>
        
        <?php if (get_field('faqs')) { ?>
			<?php while(has_sub_field('faqs')) : ?>
            	<div style="padding-bottom:10px;border-bottom:#f2f2f2 1px solid;margin-bottom:10px;">
            		<p style="font-size:14px;font-weight:bold;"><?php the_sub_field('faqquestion'); ?></p>
                	<?php the_sub_field('faqanswer'); ?>
                </div>
            <?php endwhile; ?>
            	<p style="font-weight:bold;font-style:italic;">Click "Contact Us" above to ask your own question!</p>
		<?php } else { ?>
			<p>There are no questions asked yet. Visit the "Contact Us" tab to ask a question!</p>
        <?php } ?>